import '_circle.dart';
import '_square.dart';

class Shape{
  Shape();
  factory Shape.formTypeName(String typeName){
    if(typeName =='square'){
      return Square();
    }else if(typeName == 'circle'){
      return Circle();
    }else{
      return Square();
    }
  }
}